﻿using System;
using System.Reflection;

namespace BorgExt
{
    public abstract class AssemblyElement : Qualifiable
    {
        internal Runtime runtime;

        public Assembly Assembly { get; internal set; }
        public Uri Uri { get; private set; }
        public DateTime LastModified { get; private set; }

        internal AssemblyElement(int id, string name, Assembly assembly,
            Uri uri, DateTime lastModified)
            : base(id, name)
        {
            Assembly = assembly;
            Uri = uri;
            LastModified = lastModified;
        }

        internal override AssemblyElement GetAssemblyElement()
        {
            return this;
        }
    }
}

